package com.dl.mall.entity.user;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author DL
 * @create 2022-03-21 20:01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "Address",description = "地址实体类")
public class Address implements Serializable {
    @ApiModelProperty(value = "用户id",example = "")
    private String userId;
    @ApiModelProperty(value = "地址id",example = "")
    private String addressId;
    @ApiModelProperty(value = "地址名",example = "")
    private String addressName;
    @ApiModelProperty(value = "收货人姓名",example = "")
    private String name;
    @ApiModelProperty(value = "地址类型",example = "")
    private Integer tag;
    @ApiModelProperty(value = "电话",example = "")
    private String phone;
    @ApiModelProperty(value = "省",example = "")
    private String province;
    @ApiModelProperty(value = "市",example = "")
    private String city;
    @ApiModelProperty(value = "区",example = "")
    private String region;
    @ApiModelProperty(value = "详细地址",example = "")
    private String detailAddress;
    @ApiModelProperty(value = "备注",example = "")
    private String describe;
    @ApiModelProperty(value = "是否默认",example = "")
    private Integer defaultAddress;

}
